package bean;

/**
 * @Features:
 * @Date:
 * @Author: hihuzi  2018/6/28 10:07
 */
public enum PickUpConstant {
    ValueIsNullGiveUp(1),/*属性取值为null时舍弃*/
    WrongAttributeToEmpty(1),/*对象的属性取值为null设置空字符串*/
    DiyKeyStyle(1);/*自定义 输出 属性名风格 1:首字母大写 2:全小写 3:驼峰 */

    private int key;


    PickUpConstant(int key) {

        this.key = key;
    }


    public int getKey() {

        return key;
    }

    /**
     * todo 链式编程
     *
     * @Author:hihuzi 2018/7/2 16:35
     */
    public PickUpConstant setKey(int key) {

        this.key = key;
        return this;
    }

}